package com.fcat.common.user.entity;

import javax.persistence.*;

@Table(name = "keycloak_role")
public class KeycloakRole {
    @Id
    @Column(name = "ID")
    private String id;

    @Column(name = "CLIENT_REALM_CONSTRAINT")
    private String clientRealmConstraint;

    @Column(name = "CLIENT_ROLE")
    private Boolean clientRole;

    @Column(name = "DESCRIPTION")
    private String description;

    @Column(name = "NAME")
    private String name;

    @Column(name = "REALM_ID")
    private String realmId;

    @Column(name = "CLIENT")
    private String client;

    @Column(name = "REALM")
    private String realm;

    /**
     * @return ID
     */
    public String getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * @return CLIENT_REALM_CONSTRAINT
     */
    public String getClientRealmConstraint() {
        return clientRealmConstraint;
    }

    /**
     * @param clientRealmConstraint
     */
    public void setClientRealmConstraint(String clientRealmConstraint) {
        this.clientRealmConstraint = clientRealmConstraint;
    }

    /**
     * @return CLIENT_ROLE
     */
    public Boolean getClientRole() {
        return clientRole;
    }

    /**
     * @param clientRole
     */
    public void setClientRole(Boolean clientRole) {
        this.clientRole = clientRole;
    }

    /**
     * @return DESCRIPTION
     */
    public String getDescription() {
        return description;
    }

    /**
     * @param description
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * @return NAME
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return REALM_ID
     */
    public String getRealmId() {
        return realmId;
    }

    /**
     * @param realmId
     */
    public void setRealmId(String realmId) {
        this.realmId = realmId;
    }

    /**
     * @return CLIENT
     */
    public String getClient() {
        return client;
    }

    /**
     * @param client
     */
    public void setClient(String client) {
        this.client = client;
    }

    /**
     * @return REALM
     */
    public String getRealm() {
        return realm;
    }

    /**
     * @param realm
     */
    public void setRealm(String realm) {
        this.realm = realm;
    }
}